<!DOCTYPE html>
<html lang='en'>
<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <meta http-equiv='X-UA-Compatible' content='ie=edge'>
    <title>Document</title>
    <style>
    *{
        margin: 0;
        padding: 0;
        list-style: none;
    }
    div{
        width: 300px;
        height: 80px;
        margin: 100px auto;
        box-sizing: border-box;
        padding: 8px 0;
        border: 1px solid #ccc;
        background-color: rgb(167, 162, 162);
        overflow: hidden;
    }
    li{
        width: 100%;
        text-align: center;
        height: 60px;
        font-size: 14px;
        overflow: hidden;
        background-color: rgb(192, 241, 113);
    }
    </style>
</head>
<body>
<div>
    <li>滚动公告轮播图----附加题 <br>
    代码50%以上有注释<br>
    公告可以自动轮播,每3秒滚动一屏<br>
    鼠标在公告中时停止轮播<br>
    鼠标离开公告继续轮播</li>
</div>
</body>
</html>
<script>
    
</script>